<div class="container-fluid">
    <div class="page-header">      
        <h1>Registro actividades</h1>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <form class="form-search"  action="<?php echo base_url() . "actividades/lists/" ?>" method="get">
                <input id="a_fecha" placeholder="Seleccione..." name="a_fecha" type="text">
                <button type="submit" class="btn btn-primary">Buscar</button>
            </form>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <table class="table table-hover">
                <!----------------------------ENCABEZADO--------------------------------------->        
                <tr>
                    <th>ID</th>
                    <th>Usuario</th>
                    <th>Acción</th>
                    <th>Fecha</th>
                    <th>Detalle</th>
                </tr>
                <!---------------------------- DATOS------------------------------------------>
                <?php foreach ($act_array as $var): ?>
                    <tr id="tr_<?php echo $var['id_actividad'] ?>">
                        <td><?php echo $var['id_actividad'] ?></td>
                        <td><?php echo $var['u_nick'] ?></td>
                        <td><?php echo $var['a_accion'] ?></td>
                        <td><?php echo $this->gf->fecha_hora($var['a_fecha']) ?></td>
                        <!-----------------------------------ACCIONES--------------------------------->            
                        <td>
                            <a   class="detalle" href="<?php echo base_url() . "actividades/deta_view/" . $var['id_actividad'] ?>">
                                <i class="icon-list"></i>
                            </a>&nbsp;
                        </td>
                    </tr>
                <?php endforeach; ?>
            </table>
        </div>
        <input type="hidden" value="<?php echo base_url() ?>" id="base_url">
    </div>    
    <div class="row-fluid">
        <div class="span12">
            <div class="pagination">
                <?php echo $links; ?>
            </div>
        </div>
    </div>